import Vue from 'vue'
import App from './App.vue'
import {
  Menu,
  Submenu,
  MenuItem,
  MenuItemGroup,
  Icon,
  Breadcrumb,
  BreadcrumbItem,
  Avatar,
  Form,
  FormItem,
  Input,
  Select,
  Option,
  Button,
  Col,
  Row,
  TimePicker,
  TimeSelect,
  Table,
  TableColumn,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  Pagination,
  Dialog,
  Timeline,
  TimelineItem,
  Card,

} from 'element-ui';


Vue.use(Menu);
Vue.use(Submenu);
Vue.use(MenuItem);
Vue.use(MenuItemGroup);
Vue.use(Breadcrumb);
Vue.use(BreadcrumbItem);
Vue.use(Icon);
Vue.use(Avatar);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Input);
Vue.use(Select);
Vue.use(Option);
Vue.use(Button);
Vue.use(Col);
Vue.use(Row);
Vue.use(TimePicker);
Vue.use(TimeSelect);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Dropdown);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Pagination);
Vue.use(Dialog);
Vue.use(Timeline);
Vue.use(TimelineItem);
Vue.use(Card);
import router from './routes/router';
import store from './store/store';
Vue.config.productionTip = false

new Vue({
  beforeCreate(){
    Vue.prototype.$bus=this
  },
  store,
  router,
  render: h => h(App),
}).$mount('#app')
